package com.zte.springboot_smbms.mapper;

import com.zte.springboot_smbms.pojo.SmbmsProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 标哥
* @description 针对表【smbms_provider】的数据库操作Mapper
* @createDate 2021-12-14 10:20:55
* @Entity com.zte.pojo.SmbmsProvider
*/
@Mapper
public interface SmbmsProviderMapper {

    List<SmbmsProvider> findAllProvider();

    List<SmbmsProvider> findProviderById(Long id);

    boolean addProvider(SmbmsProvider provider);

    boolean delProvider(Long id);

    boolean updateProvider(@Param("id") Long id,@Param("provider") SmbmsProvider provider);

    List<SmbmsProvider> findProviderByParam(@Param("queryProCode") String queryProCode, @Param("queryProName") String queryProName);
}




